createFromVideo

abstract suspend fun createFromVideo(videoUri: Uri): DesignBlock

Loads the given video and creates a scene with a single page showing the video. Fetching the video may take an arbitrary amount of time, so the scene isn't immediately available.

Cancelling the coroutine stops the download, and the current scene stays.

Return

a handle to the created scene.

Parameters

videoUri

the resource of the video file.